package Structural_design_pattern.Proxy_Pattern;

public class RealPermission implements AbstractPermission {
    public void modifyUserInfo(){
        System.out.println("修改用户信息");
    }

    public void viewNote(){
        System.out.println("查看帖子");
    }

    public void publishNote(){
        System.out.println("发布帖子");
    }

    public void modifyNote(){
        System.out.println("修改帖子");
    }
    
    public void setLevel(int level){
       System.out.println("设置权限等级为："+level);
    }
}
